//
//  JK_BasicPackageInfo.m
//  HxgProject
//
//  Created by 黄小刚 on 2018/7/7.
//  Copyright © 2018年 XMYY-19. All rights reserved.
//

#import "JK_BasicPackageInfo.h"

@implementation JK_BasicPackageInfo

- initWithDic:(NSDictionary *)dic
{
    self = [super init];
    if (self) {
        [self setValuesForKeysWithDictionary:dic];
    }
    return self;
}

// 重写赋值
- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    if ([key isEqualToString:@"id"]) {
        self.jk_basePackageId = value;
    }
    
    if ([key isEqualToString:@"value1"]) {
        self.moneyNum = value;
    }
    
    if ([key isEqualToString:@"value2"]) {
        self.borrowDays = value;
    }
}

@end
